macでvpm check unityが通らない
macでvpm check unityが通らない
The Creator Companion is only fully-supported on Windows 10 (Windows 11 may work but it's not fully tested).
The CLI has some functionality on Mac and Linux.
インストーラーで入れても良いし
homebrewでも入れることができる
brew install --cask dotnet-sdk
code:zsh
vpm new my-first-world World --path ~/vrc
02:53:56 ERR No Unity Editor found, you need to set this before you can make new projects. code:zsh
vpm install templates
# テンプレートがインストールされる
vpm check hub
03:00:22 INF Found Unity Hub version 3.3.0 at /Applications/Unity Hub.app/Contents/MacOS/Unity Hub 03:00:22 INF Updating settings Hub Path to /Applications/Unity Hub.app/Contents/MacOS/Unity Hub vpm check unity
Run vpm check hub to find and save the location of Unity Hub. For now, we assume it has been installed to its default location of /Applications/Unity Hub.app/Contents/MacOS/Unity Hub.
これはある
If this is not the case, you'll need to open your settings file and set the pathToUnityHub to the correct absolute path manually. Make sure to target the executable inside of the UnityHub.app as shown in the default path.
settings fileはsettings.jsonのこと
同様の症状?
@HiroyukiInou: VRChat Creator CompanionのCLIをMacに入れて動かすことに成功.なぜかvpmがUnityを発見できなかったので,settings.jsonを手で編集したら解決した.(略) ~/.local/share/VRChatCreatorCompanion/settings.json?
code:zsh
/Applications/Unity\ Hub.app/Contents/MacOS/Unity\ Hub -- --headless editors -i
2021.3.4f1 (Apple silicon), installed at /Applications/Unity/Hub/Editor/2021.3.4f1/Unity.app
2019.4.31f1 (Intel), installed at /Applications/Unity/Hub/Editor/2019.4.31f1/Unity.app
code:diff
- "unityEditors": [],
code:diff
- "unityEditors": [],
だめ